accelerate launch --num_processes 2 --mixed_precision "fp16" \
  tutorial_train_faceid.py \
  --pretrained_model_name_or_path="stablediffusionapi/majicmixrealistic-v6" \
  --image_encoder_path="models/image_encoder/" \
  --data_json_file="./human_face_all_labeled/metadata.jsonl" \
  --data_root_path="./human_face_all_labeled/" \
  --mixed_precision="fp16" \
  --pretrained_ip_adapter_path='./IP-Adapter-FaceID/ip-adapter-faceid_sd15.bin' \
  --resolution=512 \
  --train_batch_size=2 \
  --dataloader_num_workers=2 \
  --learning_rate=1e-04 \
  --weight_decay=0.01 \
  --output_dir="checkpoint_dir" \
  --save_steps=1000
